import { View, Text } from "@tarojs/components";
import Taro, { useDidShow } from "@tarojs/taro";
import "./index.scss";

const UserIndex: React.FC = (props: {
  title: String,
  cell: []
}) => {
  const { title, cell } = props
  useDidShow(() => {
    Taro.hideHomeButton();
  });

  return (
    <View className="info_component flex_column">
      <View className="flex_row info_title">
        <View />{title}
      </View>
      <View className="info_list">
        <View className="flex_row info_cell">
          <Text className="cell_key">多元智能</Text>
          <Text className="cell_value">ENFP</Text>
        </View>
      </View>
    </View>
  );
};

export default UserIndex;
